<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags" %>
<%@ page import="com.fengke.csc.config.HostConfig" %>
<%
	HostConfig hostConfig = (HostConfig) request.getSession().getServletContext().getAttribute("hostConfig");
%>
<!DOCTYPE html>
	<!--[if lt IE 7 ]> <html lang="en" class="no-js ie6"> <![endif]-->
	<!--[if IE 7 ]>    <html lang="en" class="no-js ie7"> <![endif]-->
	<!--[if IE 8 ]>    <html lang="en" class="no-js ie8"> <![endif]-->
	<!--[if IE 9 ]>    <html lang="en" class="no-js ie9"> <![endif]-->
	<!--[if (gt IE 9)|!(IE)]><!--> <html lang="en" class="no-js"><!--<![endif]-->
	<head>
		<title><%=hostConfig.getWebSiteName() %></title>
		<meta name="keywords" content="<%=hostConfig.getWebSiteName() %>" />
		<meta name="description" content="<%=hostConfig.getWebSiteName() %>" />
		<jsp:include page="../gadget/include_header.jsp"></jsp:include>
	</head>
	<body>
		<!-- 头信息 Start -->
		<jsp:include page="../gadget/main_header.jsp"></jsp:include>
		<!-- 头信息 End -->
		<jsp:include page="../gadget/main_sidebar.jsp"></jsp:include>
		<div class="main-content">
			<div class="breadcrumbs" id="breadcrumbs">
				<script type="text/javascript">
					try{ace.settings.check('breadcrumbs' , 'fixed')}catch(e){}
				</script>

				<ul class="breadcrumb">
					<li>
						<i class="icon-home home-icon"></i>
						<a href="#">首页</a>
					</li>
					<li class="active">商品管理</li>
				</ul><!-- .breadcrumb -->
			</div>
			<div class="page-content">
				<div class="page-header">
					<h1>
						商品详情
						<small>
							<i class="icon-double-angle-right"></i>
							 查看
						</small>
						<s:if test="1 == productVO.productModel.mproductType">
							<small style="color: #333;">
								活动链接：http://fengkeworld.com/travel/weixin/product/<s:property value="productVO.productModel.id" />.html
							</small>
						</s:if>
					</h1>
				</div><!-- /.page-header -->
				<div class="row">
					<div class="col-xs-12">
						<!-- PAGE CONTENT BEGINS -->

						<jsp:include page="../gadget/include_pageMessage.jsp"></jsp:include>
						<div  style="margin-top:5px;margin-left:150px;">
							<div class="col-lg-4 col-md-5 col-sm-6 col-xs-6" id="iphone" style="height:668px; position:relative; display: table-cell;vertical-align:middle; text-align:center;background: center 0 no-repeat url(resources/images/iphone5s.png);">
								<div id="iframe_wrap" style="overflow: hidden;padding:0;width:100%;position:relative;top:91px;left:3px;height:68.5%">
									<iframe id="iframe" src="http://fengkeworld.com/travel/weixin/product/<s:property value="productVO.productModel.id" />.html" style="overflow-x:hidden; height:100%; border:none;" >
									</iframe>
								</div>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
			
	<jsp:include page="../gadget/include_script.jsp"></jsp:include>
	<script type="text/javascript">
		var mproductType = '<s:property value="productVO.productModel.mproductType" />';
		jQuery(function($) {
			$('#sidebar_product').addClass('open');
			$('#sidebar_product').addClass('active');
			if(mproductType == 0) {
				$('#sidebar_product_manager').addClass('active');
			} else if(mproductType == 1) {
				$('#sidebar_activities_manager').addClass('active');
			} else {
				alert('关键参数缺失！productType is null');
			}
		});
	</script>
	</body>
</html>